package com.unitedvision.service;

import java.util.List;

import javax.persistence.EntityNotFoundException;

import com.unitedvision.persistence.domain.CompanyEntity;
import com.unitedvision.persistence.domain.GoodsEntity;
import com.unitedvision.persistence.domain.InventoryEntity;

public interface InventoryService {
	void save(InventoryEntity inventory);
	void delete(InventoryEntity inventory);
	InventoryEntity get(int id) throws EntityNotFoundException;
	List<InventoryEntity> getAll() throws EntityNotFoundException;
	List<InventoryEntity> getByCompany(CompanyEntity company) throws EntityNotFoundException;
	List<InventoryEntity> getByGoods(GoodsEntity goods) throws EntityNotFoundException;
	long count();
}
